package com.xdf.whiteaccount.dao;

import org.springframework.stereotype.Repository;
import java.util.List;
import com.xdf.whiteaccount.entity.FabBaseProductCategory;
import com.xdf.whiteaccount.utils.Example;
import org.apache.ibatis.annotations.Param;

/**
 * @Description : 注意自定义代码写在最后，避免二开时覆盖自定义方法
 * @Author : chanchaw
 * @Date :  2023-8-21 17:00:49
 */
@Repository
public interface FabBaseProductCategoryMapper {
    int insert(FabBaseProductCategory record);

    int insertSelective(FabBaseProductCategory record);

    int multiInsert(List<FabBaseProductCategory> list);

    int updateByPrimaryKey(FabBaseProductCategory record);

    int updateByPrimaryKeySelective(FabBaseProductCategory record);

    // 根据主键删除
    int deleteByPrimaryKey(Integer iid);
    // 根据主键查询
    FabBaseProductCategory selectByPrimaryKey(Integer iid);

    List<FabBaseProductCategory> selectAll();

    int save(FabBaseProductCategory record);
    int multiSave(List<FabBaseProductCategory> list);
    FabBaseProductCategory selectBySid(String sid);

    //================= 下面是 Example 代码 ==================
    List<FabBaseProductCategory> selectByExample(@Param("example") Example example);
    int updateByExampleSelective(@Param("record") FabBaseProductCategory record,@Param("example") Example example);
    int insertByExampleSelective(@Param("record") FabBaseProductCategory record,@Param("example") Example example);
    int deleteByExample(@Param("example") Example example);
    //=================以上是自动生成的代码，自定义代码请写在下面==================
}